package com.example.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.shop.bean.InfoBean;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface InfoMapper extends BaseMapper<InfoBean> {

    // 请求所有的求购商品信息
    @Select("select * from view_info")
    List<InfoBean> infoList();
}
